﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAL;
using System.Data;
namespace BLL
{
   public  class UgoodsBLL
    {
        UgoodsDAL ugl = new UgoodsDAL();
        public DataTable showUgoods()  //显示用户的商品表
        {
            return ugl.showUgoods();
        }
        public Boolean up(int num, int id) {
            int a = ugl.up(num, id);
            if (a > 0)
            {
                return true;
            }
            else {
                return false;
            }
        }
    }
  
}
